<template>
  <component :is="currentTabComponent"/>
</template>

<script lang="ts">
import {defineComponent} from 'vue';
import login from '../login/Login.vue';
import {GlobalApplicationConfiguration, SlashAppContext} from "@";

export default defineComponent({
  setup() {
    console.log(SlashAppContext.getAppConfig())
    return {currentTabComponent: GlobalApplicationConfiguration.loginComponent||login
    }
  },
});
</script>
